Leadtools.Dicom.AddIn Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Add Method
See Also 
Leadtools.Dicom.AddIn Namespace > Generic ThreadSafeList Class : Add Method



item
The object to add to the Generic ICollection.
item
The object to add to the Generic ICollection.
Adds an item to the Generic ICollection.

Syntax

Visual Basic (Declaration) 
Public Sub Add( _
   ByVal item As T _
) 
Visual Basic (Usage)Copy Code
Dim instance As ThreadSafeList(Of T)
Dim item As T
 
instance.Add(item)
C# 
public void Add( 
   T item
)
C++/CLI 
public:
void Add( 
   T item
) 

Parameters

item
The object to add to the Generic ICollection.

Exceptions

ExceptionDescription
NotSupportedException The Generic ICollection is read-only.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features